package sg.edu.nus.iss.team8s.vmcs.gui;

import java.awt.Frame;
import java.awt.Panel;

import sg.edu.nus.iss.team8s.vmcs.commons.CommonUtility;
import sg.edu.nus.iss.team8s.vmcs.commons.Constant;
/**
 * 
 * @author Zheng Xiaofeng
 *
 */
public class CustomerPanel extends Frame{

	private static final long serialVersionUID = 1L;
	private static final String TITLE = "VMCS - Customer Panel";
	/*private sg.edu.nus.iss.team8s.vmcs.builder.CustomerPanel contentPane = null;*/
	private Panel contentPane = null;

	/*public sg.edu.nus.iss.team8s.vmcs.builder.CustomerPanel getContentPane() {
		return contentPane;
	}*/
	
	public Panel getContentPane() {
		return contentPane;
	}


	public void setContentPane(Panel contentPane) {
		/*this.contentPane = (sg.edu.nus.iss.team8s.vmcs.builder.CustomerPanel)contentPane;*/
		this.contentPane = contentPane;
	}

	/**
	 * This is the default constructor
	 */
	public CustomerPanel() {
		super(TITLE);
		this.setSize(Constant.PANEL_WIDTH, 740);
		CommonUtility.alignScreenCenter(this);
	}

	
	public void display(){
		this.setVisible(true);
	}
}
